package org.jivesoftware.smackx.packet;

import org.jivesoftware.smack.packet.PacketExtension;
import org.jivesoftware.smack.provider.PacketExtensionProvider;
import org.xmlpull.v1.XmlPullParser;

public class AttentionExtension
  implements PacketExtension
{
  public static final String ELEMENT_NAME = "attention";
  public static final String NAMESPACE = "urn:xmpp:attention:0";

  public String getElementName()
  {
    return "attention";
  }

  public String getNamespace()
  {
    return "urn:xmpp:attention:0";
  }

  public String toXML()
  {
    StringBuilder localStringBuilder = new StringBuilder();
    localStringBuilder.append("<").append(getElementName()).append(" xmlns=\"").append(getNamespace()).append("\"/>");
    return localStringBuilder.toString();
  }

  public static class Provider
    implements PacketExtensionProvider
  {
    public PacketExtension parseExtension(XmlPullParser paramXmlPullParser)
      throws Exception
    {
      return new AttentionExtension();
    }
  }
}

/* Location:           D:\hygieia\userclient\common\libs\easemobchat_2.1.8.jar
 * Qualified Name:     org.jivesoftware.smackx.packet.AttentionExtension
 * JD-Core Version:    0.6.1
 */